package com.xinghen.rms.meta;

import lombok.Data;

import java.io.Serializable;

/**
 * @author xinghen
 * @ClassName: ApplicationMeta
 * @Package: com.xinghen.rms.meta
 * @Description ApplicationMeta
 * @create 2017-12-08 11:13
 */
@Data
public class ApplicationMeta implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 服务ID
     */
    private String serviceId;

    /**
     * 私钥
     */
    private String secret;

    /**
     * 权限
     */
    private String purview;

    /**
     * 所有服务的调用权限(优先判定)
     */
    private Boolean all = false;

    /**
     * 禁止服务调用
     */
    private Boolean disabled = false;

    /**
     * 描述
     */
    private String description;

}
